﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Drawing;
using System.IO;

namespace TotalNews.Helpers
{
    public class Heppers
    {
        public Bitmap crop(string userimage, int Width, int Height)
        {
            Image OriginalImage = Image.FromFile(userimage);
            Bitmap newimage = null;

            newimage = new Bitmap(OriginalImage, Width, Height);

            return newimage;
        }
      
    }
}